<div class="esriAnalysis">
  <div data-dojo-type="dijit/layout/ContentPane" style="margin-top:0.5em; margin-bottom: 0.5em;">
    <div data-dojo-attach-point="_aggregateToolContentTitle" class="analysisTitle">
      <table class="esriFormTable" > 
        <tr>
          <td class="esriToolIconTd"><div class="generateTrendRasterIcon"></div></td>
          <td class="esriAlignLeading esriAnalysisTitle" data-dojo-attach-point="_toolTitle">
            <label data-dojo-attach-point="_titleLbl">${i18n.generateTrendRaster}</label>
            <nav class="breadcrumbs" data-dojo-attach-point="_analysisModeLblNode" style="display:none;">
              <a href="#" class="crumb breadcrumbs__modelabel" data-dojo-attach-event="onclick:_handleModeCrumbClick" data-dojo-attach-point="_analysisModeCrumb"></a>
              <a href="#" class="crumb is-active" data-dojo-attach-point="_analysisTitleCrumb" style="font-size:16px;">${i18n.generateTrendRaster}</a>
            </nav> 
          </td>
          <td>
            <div class="esriFloatTrailing" style="padding:0;">
              <div class="esriFloatLeading">
                <a href="#" class='esriFloatLeading helpIcon' esriHelpTopic="toolDescription"></a>
              </div>
              <div class="esriFloatTrailing">
                <a href="#" data-dojo-attach-point="_closeBtn" title="${i18n.close}" class="esriAnalysisCloseIcon"></a>
              </div>              
            </div>               
          </td>
        </tr>
      </table>
    </div>
    <div style="clear:both; border-bottom: #CCC thin solid; height:1px;width:100%;"></div>
  </div>
  <div data-dojo-type="dijit/form/Form" data-dojo-attach-point="_form" readOnly="true">
    <table class="esriFormTable"  data-dojo-attach-point="_aggregateTable"  style="border-collapse:collapse;border-spacing:5px;" cellpadding="5px" cellspacing="5px"> 
      <tbody>
        <tr data-dojo-attach-point="_titleRow">
          <td colspan="3" class="sectionHeader" data-dojo-attach-point="_interpolateToolDescription">${i18n.toolDefine}</td>
        </tr>
        <tr data-dojo-attach-point="_analysisLabelRow" style="display:none;">
          <td colspan="2" style="padding-bottom:0;">
            <label class="esriFloatLeading  esriTrailingMargin025 esriAnalysisNumberLabel">${i18n.oneLabel}</label>
            <label class="esriAnalysisStepsLabel">${i18n.analysisLayerLabel}</label>
          </td>
          <td class="shortTextInput" style="padding-bottom:0;">
            <a href="#" class='esriFloatTrailing helpIcon' esriHelpTopic="inputMultidimensionalRaster"></a>
          </td>
        </tr>
        <tr data-dojo-attach-point="_selectAnalysisRow" style="display:none;">
          <td colspan="3" style="padding-top:0;">
            <select class="esriLeadingMargin1 longInput esriLongLabel" style="margin-top:1.0em;" data-dojo-type="dijit/form/Select" data-dojo-attach-point="_analysisSelect" data-dojo-attach-event="onChange:_handleAnalysisLayerChange"></select>
          </td>
        </tr>
        <tr>
          <td colspan="3" class="clear"></td>
        </tr>
        <tr>
          <td colspan="2">
            <label class="esriFloatLeading esriTrailingMargin025 esriAnalysisNumberLabel">${i18n.oneLabel}</label>
            <label class="esriAnalysisStepsLabel" data-dojo-attach-point="_dimensionLabel">${i18n.dimensionLabel}</label>
          </td>
          <td class="shortTextInput">
            <a href="#" class='esriFloatTrailing helpIcon' esrihelptopic="dimension"></a>
          </td>
        </tr>
        <tr>
          <td colspan="3">
            <select class="longInput esriLeadingMargin1" data-dojo-type="dijit/form/Select" data-dojo-attach-point="_dimensionSelect" data-dojo-attach-event="onChange:_handleDimensionChange"></select>
          </td>
        </tr>
        <tr>
          <td colspan="3" class="clear"></td>
        </tr>
        <tr>
          <td colspan="2">
            <label class="esriFloatLeading esriTrailingMargin025 esriAnalysisNumberLabel">${i18n.twoLabel}</label>
            <label class="esriAnalysisStepsLabel" data-dojo-attach-point="_variablesLabel">${i18n.variablesLabel}</label>
          </td>
          <td class="shortTextInput">
            <a href="#" class='esriFloatTrailing helpIcon' esrihelptopic="variables"></a>
          </td>
        </tr>
        <tr data-dojo-attach-point="_variablesListLabel" style="display:none">
          <td colspan="3">
            <label class="esriLeadingMargin2">${i18n.variablesListLabel}</label>
          </td>
        </tr>
        <tr>
          <td colspan="3">
            <div>
              <table class="esriFormTable">
                <tbody data-dojo-attach-point="_variablesList"></tbody>
              </table>
            </div>
          </td>
        </tr>
        <tr>
          <td colspan="3" class="clear"></td>
        </tr>
        <tr>
          <td colspan="2">
            <label class="esriFloatLeading esriTrailingMargin025 esriAnalysisNumberLabel">${i18n.threeLabel}</label>
            <label class="esriAnalysisStepsLabel" data-dojo-attach-point="_trendLineTypeLabel">${i18n.trendLineTypeLabel}</label>
          </td>
          <td class="shortTextInput">
            <a href="#" class='esriFloatTrailing helpIcon' esrihelptopic="trendLineType"></a>
          </td>
        </tr>
        <tr>
          <td colspan="3">
            <select class="longInput esriLeadingMargin1" data-dojo-type="dijit/form/Select" data-dojo-attach-point="_trendLineTypeSelect" data-dojo-attach-event="onChange:_handleTrendLineTypeChange"></select>
          </td>
        </tr>
        <tr data-dojo-attach-point="_cycleLengthLabelRow" class="esriLeadingMargin1" style="display:none;">
          <td colspan="2">
            <label data-dojo-attach-point="_cycleLengthLabel">${i18n.cycleLength}</label>
          </td>
          <td class="shortTextInput">
            <a href="#" class='esriFloatTrailing helpIcon' esrihelptopic="cycleLength"></a>
          </td>
        </tr>
        <tr data-dojo-attach-point="_cycleLengthValueRow" style="display:none;">
          <td colspan="3">
            <input type="text" data-dojo-type="dijit/form/ValidationTextBox" class="longInput esriLeadingMargin1" data-dojo-props="trim:true" data-dojo-attach-point="_cycleLengthValue" value=""></input>
          </td>
        </tr>
        <tr data-dojo-attach-point="_cycleUnitLabelRow" class="esriLeadingMargin1" style="display:none;">
          <td colspan="2">
            <label data-dojo-attach-point="_cycleUnitLabel">${i18n.cycleUnit}</label>
          </td>
          <td class="shortTextInput">
            <a href="#" class='esriFloatTrailing helpIcon' esrihelptopic="cycleUnit"></a>
          </td>
        </tr>
        <tr data-dojo-attach-point="_cycleUnitValueRow" class="esriLeadingMargin1" style="display:none;">
          <td colspan="3">
            <select class="longInput" data-dojo-type="dijit/form/Select" data-dojo-attach-point="_cycleUnitSelect"></select>
          </td>
        </tr>
        <tr data-dojo-attach-point="_frequencyLabelRow" class="esriLeadingMargin1" style="display:none;">
          <td colspan="2">
            <label data-dojo-attach-point="_frequencyLabel">${i18n.frequencyLabel}</label>
          </td>
          <td class="shortTextInput">
            <a href="#" class='esriFloatTrailing helpIcon' esrihelptopic="frequency"></a>
          </td>
        </tr>
        <tr data-dojo-attach-point="_polynomialOrderLabelRow" class="esriLeadingMargin1" style="display:none;">
          <td colspan="2">
            <label data-dojo-attach-point="_polynomialOrderLabel">${i18n.polynomialOrderLabel}</label>
          </td>
          <td class="shortTextInput">
            <a href="#" class='esriFloatTrailing helpIcon' esrihelptopic="polynomialOrder"></a>
          </td>
        </tr>
        <tr data-dojo-attach-point="_frequencyValueRow" style="display:none;">
          <td colspan="3">
            <input type="text" data-dojo-type="dijit/form/ValidationTextBox" class="longInput esriLeadingMargin1" data-dojo-props="trim:true" data-dojo-attach-point="_frequencyValue" value=""></input>
          </td>
        </tr>
        <tr data-dojo-attach-point="_seasonalPeriodLabelRow" class="esriLeadingMargin1" style="display:none;">
          <td colspan="2">
            <label data-dojo-attach-point="_seasonalPeriodLabel">${i18n.seasonalPeriod}</label>
          </td>
          <td class="shortTextInput">
            <a href="#" class='esriFloatTrailing helpIcon' esrihelptopic="seasonalPeriod"></a>
          </td>
        </tr>
        <tr data-dojo-attach-point="_seasonalPeriodValueRow" style="display:none;">
          <td colspan="3">
            <select class="longInput esriLeadingMargin1" data-dojo-type="dijit/form/Select" data-dojo-attach-point="_seasonalPeriodSelect"></select>
          </td>
        </tr>
        <tr>
          <td colspan="3" class="clear"></td>
        </tr>
        <tr data-dojo-attach-point="_modelStatisticsLabelRow">
          <td colspan="2">
            <label class="esriFloatLeading esriTrailingMargin025 esriAnalysisNumberLabel" data-dojo-attach-point="_modelStatisticsLabel">${i18n.threeLabel}</label>
            <label class="esriAnalysisStepsLabel">${i18n.modelStatistics}</label>
          </td>
          <td class="shortTextInput">
            <a href="#" class='esriFloatTrailing helpIcon' esrihelptopic="modelStatistics"></a>
          </td>
        </tr>
        <tr data-dojo-attach-point="_modelStatisticsValueRow">
          <td colspan="3">
            <label class="esriLeadingMargin2 esriSelectLabel">
              <input type="radio" data-dojo-attach-point="_rmseCheck" data-dojo-type="dijit/form/CheckBox" data-dojo-props="checked:true" checked value="true" />
              ${i18n.rmse}
            </label>
            <br />
            <label class="esriLeadingMargin2 esriSelectLabel">
              <input type="radio" data-dojo-attach-point="_r2Check" data-dojo-type="dijit/form/CheckBox" data-dojo-props="checked:false" checked value="false" />
              ${i18n.r2}
            </label>
            <br />
            <label class="esriLeadingMargin2 esriSelectLabel" data-dojo-attach-point="_pValue">
              <input type="radio" data-dojo-attach-point="_slopePValueCheck" data-dojo-type="dijit/form/CheckBox" data-dojo-props="checked:false" checked value="false" />
              ${i18n.slopePValue}
            </label>
          </td>
        </tr>
        <tr>
          <td colspan="3" class="clear"></td>
        </tr>
        <tr>
          <td colspan="2">
            <label class="esriFloatLeading esriTrailingMargin025 esriAnalysisNumberLabel" data-dojo-attach-point="_ignoreNodataLabel">${i18n.fourLabel}</label>
            <label class="esriAnalysisStepsLabel">${i18n.ignoreNodataLabel}</label>
          </td>
          <td>
            <a href="#" class='esriFloatTrailing helpIcon' esriHelpTopic="ignoreNodata"></a>
          </td>
        </tr>
        <tr>
          <td colspan="3">
            <label class="esriLeadingMargin2 esriSelectLabel" data-dojo-attach-point="_ignoreNodata">
              <input type="radio" data-dojo-attach-point="_ignoreNoDataCheck" data-dojo-type="dijit/form/CheckBox" data-dojo-props="checked:true" checked value="true" />
              ${i18n.ignore}
            </label>
          </td>
        </tr>
        <tr>
          <td colspan="3" class="clear"></td>
        </tr>
        <tr>
          <td colspan="2">
            <label class="esriFloatLeading esriTrailingMargin025 esriAnalysisNumberLabel" data-dojo-attach-point="_outputLayerLabel">${i18n.fiveLabel}</label>
            <label class="esriAnalysisStepsLabel">${i18n.outputLayerLabel}</label>
          </td>
          <td class="shortTextInput">
            <a href="#" class='esriFloatTrailing helpIcon' esriHelpTopic="outputName"></a>
          </td>
        </tr>
        <tr>
          <td colspan="3">
            <input type="text" data-dojo-type="dijit/form/ValidationTextBox" class="longInput esriLeadingMargin1" data-dojo-props="trim:true,required:true" data-dojo-attach-point="_outputLayerInput" value=""></input>
          </td>
        </tr>
        <tr>
          <td colspan="3">
            <div data-dojo-attach-point="_chooseFolderRow" class="esriLeadingMargin1">
              <label style="width:9px;font-size:smaller;">${i18n.saveResultIn}</label>
              <input class="longInput" data-dojo-attach-point="_webMapFolderSelect" data-dojo-type="dijit/form/FilteringSelect" trim="true" style="width:60%;"></input>
            </div>
          </td>
        </tr>
        <tr>
          <td colspan="3">
            <div data-dojo-attach-point="_chooseLayerTypeRow" class="esriLeadingMargin1">
              <label class="esriSaveLayerlabel">${i18n.saveLayerType}</label>
              <input class="longInput esriLongLabel" data-dojo-attach-point="_webLayerTypeSelect" data-dojo-type="dijit/form/FilteringSelect" trim="true" style="width:55%;"></input>
            </div>
          </td>
        </tr>
      </tbody>         
    </table>
  </div>
  <div style="padding:5px;margin-top:5px;border-top:solid 1px #BBB;">
    <div class="esriExtentCreditsCtr">
      <a class="esriFloatTrailing esriSmallFont" href="#" data-dojo-attach-point="_showCreditsLink">${i18n.showCredits}</a>
      <label data-dojo-attach-point="_chooseExtentDiv" class="esriSelectLabel esriExtentLabel">
        <input type="radio" data-dojo-attach-point="_useExtentCheck" data-dojo-type="dijit/form/CheckBox" data-dojo-props="checked:true" name="extent" value="true" />
        ${i18n.useMapExtent}
      </label>
    </div>
    <div>
      <table class="esriFormTable">
        <tr>
          <td>
            <button data-dojo-type="dijit/form/Button" type="submit" data-dojo-attach-point="_saveBtn" class="esriAnalysisSubmitButton" data-dojo-attach-event="onClick:_handleSaveBtnClick">
              ${i18n.runAnalysis}
            </button>
          </td>
        </tr>
      </table>
    </div>
  </div>
  <div data-dojo-type="dijit/Dialog" title="${i18n.creditTitle}" data-dojo-attach-point="_usageDialog" style="width:40em;">
    <div data-dojo-type="esri/dijit/analysis/CreditEstimator" data-dojo-attach-point="_usageForm"></div>
  </div>       
</div>
